<template>
    <div template>
        <bases :tonextlink="tonextlink" title="picker选择器">
            <u-picker mode="selector" v-model="show" :default-selector="[0]" :range="[0, 1, 2, 3]"></u-picker>
            <u-button @click="show = !show">单列打开</u-button>
            <u-picker mode="multiSelector" v-model="show2" :range="[[0, 1, 2, 3], [0, 1, 2, 3], [0, 1, 2, 3]]">多列打开</u-picker>
            <u-button @click="show2 = !show2">多列打开</u-button>
        </bases>
    </div>
</template>

<script>
import bases from './base.vue'
export default {
    props: ['tonextlink'],
    components: {
        bases
    },
    data() {
        return {
            show: false,
            show2: false,
        }
    },
}
</script>
